package mq

import (
	"charging_pile/util/protocol/jiuxing"

	"github.com/zeromicro/go-zero/core/logx"
)

//启动充电

func handle20(nc *natsClient, in *jiuxing.Package) *jiuxing.Package {
	msg := jiuxing.Msg20{}
	msg.Decode(in.Payload)
	logx.Infof("msg20:%+v", msg)

	return nil
}

func init() {
	HandlerMap[uint8(0x20)] = handle20
}
